package com.mycompany.inventory.pojo;

public class MenuList {
	public final static String Category = "Category";
	public final static String Menu = "Menu";
	
	private TreeNode root;
	public MenuList() {
		root = new TreeNode(null,
			new TreeNode[] {
				new TreeNode(new Menu("SALES"),new TreeNode[] {
					new TreeNode(new Menu("New Sales Quote", "page_detail.gif")),
					new TreeNode(new Menu("New Sale Order", "page_detail.gif")),
					new TreeNode(new Menu("Sales Order List"), new TreeNode[] {
						new TreeNode(new Menu("Recent Orders", "page_detail.gif")),
						new TreeNode(new Menu("Open Orders", "page_detail.gif")),
						new TreeNode(new Menu("Invoiced Orders", "page_detail.gif")),
						new TreeNode(new Menu("Paid Orders", "page_detail.gif"))
					},false),
					new TreeNode(new Menu("Customer List", "page_detail.gif"))
				},true),
				new TreeNode(new Menu("PURCHASING"),new TreeNode[] {					
					new TreeNode(new Menu("Purchase Order List"), new TreeNode[] {
						new TreeNode(new Menu("New Purchase Order", "page_detail.gif")),
						new TreeNode(new Menu("Recent Orders", "sequence.gif")),
						new TreeNode(new Menu("Open Orders", "sequence.gif")),
						new TreeNode(new Menu("Received Orders", "sequence.gif")),
						new TreeNode(new Menu("Paid Orders", "sequence.gif"))
					},false),
					new TreeNode(new Menu("Vendor List", "page_detail.gif")),
				},false),
				new TreeNode(new Menu("INVENTORY"),new TreeNode[] {
					new TreeNode(new Menu("Product"), new TreeNode[] {
						new TreeNode(new Menu("Product List", "table.gif")),
						new TreeNode(new Menu("Product Categories", "exdDatabaseView.gif")),
						new TreeNode(new Menu("Product Pricing", "builder.gif"))
					},false),
					new TreeNode(new Menu("Current Stock", "table.gif")),
					new TreeNode(new Menu("Movement History",  "table.gif")),
					new TreeNode(new Menu("Adjust Stock", "table.gif")),
					new TreeNode(new Menu("Count Sheet", "table.gif")),
					new TreeNode(new Menu("Transfer Stock",  "table.gif")),
					new TreeNode(new Menu("Reorder Stock", "table.gif")),
					new TreeNode(new Menu("Work Order",  "table.gif"))
				},false),
				new TreeNode(new Menu("REPORTS"),new TreeNode[] {
					new TreeNode(new Menu("Report List"), new TreeNode[] {
						new TreeNode(new Menu("Inventory Summary", "index_16x16.gif")),
						new TreeNode(new Menu("Sale Order Profit Report", "index_16x16.gif"))
					},false)
				},false),
				new TreeNode(new Menu("SETTINGS"),new TreeNode[] {
					new TreeNode(new Menu("General Settings",  "method_16x16.gif")),
					new TreeNode(new Menu("Print Settings",  "print.gif")),
					new TreeNode(new Menu("Personal Settings",  "method_16x16.gif"))
				})
			},false
		);
	}
	public TreeNode getRoot() {
		return root;
	}
}
